package pl.edu.agh.mobicentsVoIP.database;

import java.util.Collection;

import pl.edu.agh.mobicentsVoIP.core.Call;
import pl.edu.agh.mobicentsVoIP.core.User;



public interface IFacade {
	public void addCall(Call call);
	public void updateCall(Call call);
	public void registerUser(User user);
	public void unRegisterUser(User user);
	public User getUserByUserURI(String userURI);
	public Call getCallByUsersURIs(String fromURI, String toURI);
	public Collection<Call> getAllCalls();
	public Collection<User> getAllUsers();
	public Collection<User> getRegisteredUsers(boolean registered);
	public Collection<Call> getAllUserCalls(User user);	
}
